

<HTML>
 <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>查询Booking</title>
</head>

<body>
<!--Search Area  -->	  

	  <h1>新增Booking</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${bookingInstance}">
            <div class="errors">
                <g:renderErrors bean="${bookingInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form name="searchArea">
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name" width="18%">
                                    <label for="bookingNum">Booking Num:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'bookingNum','errors')}" width="32%">
                                    <input type="text" id="bookingNum" name="bookingNum" value="${fieldValue(bean:bookingInstance,field:'bookingNum')}"/>
                                </td>
						
                                <td valign="top" class="name" width="18%">
                                    <label for="consigneeAddr">Consignee Addr:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'consigneeAddr','errors')}" width="32%">
                                    <input type="text" id="consigneeAddr" name="consigneeAddr" value="${fieldValue(bean:bookingInstance,field:'consigneeAddr')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name" width="18%">
                                    <label for="consigneeName">Consignee Name:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'consigneeName','errors')}" width="32%">
                                    <input type="text" id="consigneeName" name="consigneeName" value="${fieldValue(bean:bookingInstance,field:'consigneeName')}"/>
                                </td>
						
                                <td valign="top" class="name" width="18%">
                                    <label for="consigneePhone">Consignee Phone:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'consigneePhone','errors')}" width="32%">
                                    <input type="text" id="consigneePhone" name="consigneePhone" value="${fieldValue(bean:bookingInstance,field:'consigneePhone')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name" width="18%">
                                    <label for="consigneeTime">Consignee Time:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'consigneeTime','errors')}" width="32%">
                                    <g:datePicker name="consigneeTime" value="${bookingInstance?.consigneeTime}" precision="minute" ></g:datePicker>
                                </td>
						
                                <td valign="top" class="name" width="18%">
                                    <label for="contractNum">Contract Num:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'contractNum','errors')}" width="32%">
                                    <input type="text" id="contractNum" name="contractNum" value="${fieldValue(bean:bookingInstance,field:'contractNum')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name" width="18%">
                                    <label for="customerCode">Customer Code:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'customerCode','errors')}" width="32%">
                                    <input type="text" id="customerCode" name="customerCode" value="${fieldValue(bean:bookingInstance,field:'customerCode')}"/>
                                </td>
						
                                <td valign="top" class="name" width="18%">
                                    <label for="customerName">Customer Name:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'customerName','errors')}" width="32%">
                                    <input type="text" id="customerName" name="customerName" value="${fieldValue(bean:bookingInstance,field:'customerName')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name" width="18%">
                                    <label for="freightage">Freightage:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'freightage','errors')}" width="32%">
                                    <input type="text" id="freightage" name="freightage" value="${fieldValue(bean:bookingInstance,field:'freightage')}" />
                                </td>
						
                                <td valign="top" class="name" width="18%">
                                    <label for="shipperAddr">Shipper Addr:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'shipperAddr','errors')}" width="32%">
                                    <input type="text" id="shipperAddr" name="shipperAddr" value="${fieldValue(bean:bookingInstance,field:'shipperAddr')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name" width="18%">
                                    <label for="shipperName">Shipper Name:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'shipperName','errors')}" width="32%">
                                    <input type="text" id="shipperName" name="shipperName" value="${fieldValue(bean:bookingInstance,field:'shipperName')}"/>
                                </td>
						
                                <td valign="top" class="name" width="18%">
                                    <label for="shipperPhone">Shipper Phone:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'shipperPhone','errors')}" width="32%">
                                    <input type="text" id="shipperPhone" name="shipperPhone" value="${fieldValue(bean:bookingInstance,field:'shipperPhone')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name" width="18%">
                                    <label for="shipperTime">Shipper Time:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'shipperTime','errors')}" width="32%">
                                    <g:datePicker name="shipperTime" value="${bookingInstance?.shipperTime}" precision="minute" ></g:datePicker>
                                </td>
						
                                <td valign="top" class="name" width="18%">
                                    <label for="transitType">Transit Type:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'transitType','errors')}" width="32%">
                                    <input type="text" id="transitType" name="transitType" value="${fieldValue(bean:bookingInstance,field:'transitType')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name" width="18%">
                                    <label for="vehicleType">Vehicle Type:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:bookingInstance,field:'vehicleType','errors')}" width="32%">
                                    <input type="text" id="vehicleType" name="vehicleType" value="${fieldValue(bean:bookingInstance,field:'vehicleType')}"/>
                                </td>
						
                                <td colspan="2">&nbsp;
                                </td>
							</tr>
						
                        </tbody>
                    </table>
                </div>
                
               <!--operation area--> 
                <div class="buttons">
                    <span class="button"><input class="save" type="button" onclick="javascript:doSearch();" value="查询" /></span>
					<span class="button"><input class="formbutton" type="reset" value="重置" /></span>
                </div>
            </g:form>

<!--List Area  -->
<div class="listArea">
<iframe frameborder="0" height="55%" width="80%" scrolling="no" name="tabList" src="list"></iframe>
</div>	
</body>
</HTML>
